package classList;

import javax.swing.*;

public class Test1<T> {
    public void tet(T t){

    }
    public T getX(){
        return null;
    }

    public static void main(String[] args) {
        Test1<String> m = new Test1<String>();
        String str = m.getX();

        Test1<JFrame> mt = new Test1<JFrame>();
        JFrame jf = mt.getX();
    }
}
